package com.skong.scd.member.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 会员表
 * </p>
 *
 * @author tangjf
 * @since 2018-03-28
 */
@TableName("t_mem_member")
public class Member extends Model<Member> {

    private static final long serialVersionUID = 1L;

    /**
     * 会员主键
     */
    private String memberId;
    /**
     * 登录名称
     */
    private String loginName;
    /**
     * 真实姓名
     */
    private String truename;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 密码
     */
    private String pwd;
    /**
     * 支付密码
     */
    private String paypwd;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 邮箱是否认证（0-否，1-是）
     */
    private String isAuthEmail;
    /**
     * 手机号
     */
    private String cellphone;
    /**
     * 手机号是否认证（0-否，1-是）
     */
    private String isAuthPhone;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 会员等级
     */
    private String memberGrade;
    /**
     * 状态（1-禁用，2-启用）
     */
    private String status;
    /**
     * 禁言（0-否，1-是）
     */
    private String ifMute;
    /**
     * 组织主键
     */
    private String orgId;
    /**
     * 是否组织（0-否，1-是）
     */
    private String ifOrg;
    /**
     * 上次登录时间
     */
    private Date lastLoginTime;
    /**
     * 微信OpenID
     */
    private String openID;
    /**
     * openIdQQ
     */
    private String openIdQQ;
    /**
     * QQ授权信息
     */
    private String accessTokenQQ;
    /**
     * 新浪微博uid
     */
    private String sinauid;
    /**
     * 微信用户id（微信第三方登录）
     */
    private String openidWX;
    /**
     * 微信应用unionid
     */
    private String wxuid;
    /**
     * 是否删除（1是0否）
     */
    private String ifDel;
    /**
     * 创建人主键
     */
    private String createId;
    /**
     * 创建人姓名
     */
    private String createName;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改人主键
     */
    private String modifyId;
    /**
     * 修改人姓名
     */
    private String modifyName;
    /**
     * 修改时间
     */
    private Date modifyTime;


    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getPaypwd() {
        return paypwd;
    }

    public void setPaypwd(String paypwd) {
        this.paypwd = paypwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIsAuthEmail() {
        return isAuthEmail;
    }

    public void setIsAuthEmail(String isAuthEmail) {
        this.isAuthEmail = isAuthEmail;
    }

    public String getCellphone() {
        return cellphone;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    public String getIsAuthPhone() {
        return isAuthPhone;
    }

    public void setIsAuthPhone(String isAuthPhone) {
        this.isAuthPhone = isAuthPhone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getMemberGrade() {
        return memberGrade;
    }

    public void setMemberGrade(String memberGrade) {
        this.memberGrade = memberGrade;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIfMute() {
        return ifMute;
    }

    public void setIfMute(String ifMute) {
        this.ifMute = ifMute;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getIfOrg() {
        return ifOrg;
    }

    public void setIfOrg(String ifOrg) {
        this.ifOrg = ifOrg;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getOpenID() {
        return openID;
    }

    public void setOpenID(String openID) {
        this.openID = openID;
    }

    public String getOpenIdQQ() {
        return openIdQQ;
    }

    public void setOpenIdQQ(String openIdQQ) {
        this.openIdQQ = openIdQQ;
    }

    public String getAccessTokenQQ() {
        return accessTokenQQ;
    }

    public void setAccessTokenQQ(String accessTokenQQ) {
        this.accessTokenQQ = accessTokenQQ;
    }

    public String getSinauid() {
        return sinauid;
    }

    public void setSinauid(String sinauid) {
        this.sinauid = sinauid;
    }

    public String getOpenidWX() {
        return openidWX;
    }

    public void setOpenidWX(String openidWX) {
        this.openidWX = openidWX;
    }

    public String getWxuid() {
        return wxuid;
    }

    public void setWxuid(String wxuid) {
        this.wxuid = wxuid;
    }

    public String getIfDel() {
        return ifDel;
    }

    public void setIfDel(String ifDel) {
        this.ifDel = ifDel;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyId() {
        return modifyId;
    }

    public void setModifyId(String modifyId) {
        this.modifyId = modifyId;
    }

    public String getModifyName() {
        return modifyName;
    }

    public void setModifyName(String modifyName) {
        this.modifyName = modifyName;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.memberId;
    }

    @Override
    public String toString() {
        return "Member{" +
        ", memberId=" + memberId +
        ", loginName=" + loginName +
        ", truename=" + truename +
        ", nickname=" + nickname +
        ", pwd=" + pwd +
        ", paypwd=" + paypwd +
        ", email=" + email +
        ", isAuthEmail=" + isAuthEmail +
        ", cellphone=" + cellphone +
        ", isAuthPhone=" + isAuthPhone +
        ", avatar=" + avatar +
        ", memberGrade=" + memberGrade +
        ", status=" + status +
        ", ifMute=" + ifMute +
        ", orgId=" + orgId +
        ", ifOrg=" + ifOrg +
        ", lastLoginTime=" + lastLoginTime +
        ", openID=" + openID +
        ", openIdQQ=" + openIdQQ +
        ", accessTokenQQ=" + accessTokenQQ +
        ", sinauid=" + sinauid +
        ", openidWX=" + openidWX +
        ", wxuid=" + wxuid +
        ", ifDel=" + ifDel +
        ", createId=" + createId +
        ", createName=" + createName +
        ", createTime=" + createTime +
        ", modifyId=" + modifyId +
        ", modifyName=" + modifyName +
        ", modifyTime=" + modifyTime +
        "}";
    }
}
